package com.lovo.service;

import com.lovo.bean.Detail;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author lovo
 * @since 2022-09-17
 */
public interface IDetailService extends IService<Detail> {

    public void sendDetail(Detail detail);

    public List<Detail> findDetailByProductId(Integer productId);

    public boolean sellProduct(Integer productId,Integer num);




}
